﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TheAPI.Data
{
    public class RecentGames
    {
        public int Count { get { return Games.Count; } private set { } }

        public Game this[int i] { get { return Games[i]; } private set { Games[i] = value; } }

        /// <summary>
        /// List of games
        /// </summary>
        [JsonProperty("games")]
        public  List<Game> Games { get; set; }

        /// <summary>
        /// Summoner ID
        /// </summary>
        [JsonProperty("summonerId")]
        public long SummonerId { get; set; }
    }
}
